package cn.hallele.bbts.crawler.service.bo;

import cn.hallele.bbts.crawler.common.enums.LotteryTypeEnum;
import lombok.*;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * LotteryDataBO
 *
 * @author anle5
 * @since 2023/12/3 星期日 13:12
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
public class LotteryDataBO implements Serializable {
    @Serial
    private static final long serialVersionUID = -9221244815529320315L;

    /**
     * 身份唯一标识
     */
    private Long id;

    /**
     * 期号
     */
    private String issueId;

    /**
     * 彩票类型
     */
    private LotteryTypeEnum lotteryType;

    /**
     * 开奖日期
     */
    private LocalDateTime drawDate;

    /**
     * 中奖号码
     */
    private String winningNumbers;

    /**
     * 奖池金额
     */
    private Long totalAmount;

    /**
     * 销售金额
     */
    private Long salesAmount;

    /**
     * 数据创建时间
     */
    private LocalDateTime createTime;
}
